libktexteditor-perl software package provides Perl bindings for KTextEditor, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libktexteditor-perl
libktexteditor-perl is installed in your system.
Make ensure the libktexteditor-perl package were installed using the commands given below,
$ sudo dpkg-query -l | grep libktexteditor-perl *
You will get with libktexteditor-perl package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Perl |
| Package | libktexteditor-perl |
| Version | 4:4.14.2-0ubuntu3 |
| Description | Perl bindings for KTextEditor |
| Sub Section | Perl |